package com.ruoyi.hospital.domain.shop;

import com.ruoyi.common.core.domain.NewTreeEntity;
import org.apache.commons.lang3.builder.ToStringBuilder;
import org.apache.commons.lang3.builder.ToStringStyle;
import com.ruoyi.common.annotation.Excel;
import com.ruoyi.common.core.domain.TreeEntity;

/**
 * 商品分类对象 shop_product_category
 * 
 * @author wendao
 * @date 2024-08-16
 */
public class ShopProductCategory extends NewTreeEntity
{
    private static final long serialVersionUID = 1L;

    /** 主键 */
    private Integer id;

    /** 名称 */
    @Excel(name = "名称")
    private String categoriesName;

    /** logo */
    @Excel(name = "logo")
    private String categoriesLogo;

    /** 排序 */
    @Excel(name = "排序")
    private Integer categoriesSort;

    /** 状态 */
    @Excel(name = "状态")
    private Integer categoriesState;

    /** 类型 */
    @Excel(name = "类型")
    private Integer drugDicType;

    /** 删除时间 */
    private Integer deleteTime;

    public void setId(Integer id) 
    {
        this.id = id;
    }

    public Integer getId() 
    {
        return id;
    }
    public void setCategoriesName(String categoriesName) 
    {
        this.categoriesName = categoriesName;
    }

    public String getCategoriesName() 
    {
        return categoriesName;
    }
    public void setCategoriesLogo(String categoriesLogo) 
    {
        this.categoriesLogo = categoriesLogo;
    }

    public String getCategoriesLogo() 
    {
        return categoriesLogo;
    }
    public void setCategoriesSort(Integer categoriesSort) 
    {
        this.categoriesSort = categoriesSort;
    }

    public Integer getCategoriesSort() 
    {
        return categoriesSort;
    }
    public void setCategoriesState(Integer categoriesState) 
    {
        this.categoriesState = categoriesState;
    }

    public Integer getCategoriesState() 
    {
        return categoriesState;
    }
    public void setDrugDicType(Integer drugDicType) 
    {
        this.drugDicType = drugDicType;
    }

    public Integer getDrugDicType() 
    {
        return drugDicType;
    }
    public void setDeleteTime(Integer deleteTime) 
    {
        this.deleteTime = deleteTime;
    }

    public Integer getDeleteTime() 
    {
        return deleteTime;
    }

    @Override
    public String toString() {
        return new ToStringBuilder(this,ToStringStyle.MULTI_LINE_STYLE)
            .append("id", getId())
            .append("parentId", getParentId())
            .append("categoriesName", getCategoriesName())
            .append("categoriesLogo", getCategoriesLogo())
            .append("categoriesSort", getCategoriesSort())
            .append("categoriesState", getCategoriesState())
            .append("drugDicType", getDrugDicType())
            .append("createTime", getCreateTime())
            .append("updateTime", getUpdateTime())
            .append("deleteTime", getDeleteTime())
            .toString();
    }
}
